package test.marui.com.mytest;

import android.app.Application;

import com.cnten.bdcloudrtk.gnss.manager.DeviceManager;

/**
 * Created by ZJH on 2017/12/28.
 */

public class CntenSDKDemoApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        //注册gnns管理器，否则CntenSDK无法使用
        DeviceManager.getInstance().register(this);
    }

    @Override
    public void onTerminate() {
        super.onTerminate();
        //注销gnns管理器
        DeviceManager.getInstance().destroy();
    }

}
